package com.cloud.register;

import org.springframework.context.annotation.Configuration;

@Configuration
//@EnableWebSecurity
public class WebSecurityConfig /* extends WebSecurityConfigurerAdapter */ {
	/****
	@Override
	protected void configure(HttpSecurity http) throws Exception {
        // 关闭csrf
		http.csrf().disable().httpBasic();
        // 支持httpBasic
		http.authorizeRequests().anyRequest().authenticated().and().httpBasic();
	}***/
}
